package com.tl.commonlibrary.network.bean.base;

import com.google.gson.JsonElement;
import com.tl.commonlibrary.ui.beans.User;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/6/9 0009.
 * 服务器端以json形式传参数，data的作用将公共参数（Header)以及业务参数（Body)封装起来最终传给服务器
 */

public class Data implements Serializable {
    public Data() {
        header = new Header();
    }
    public Data(User user){
        header = new Header(user);
    }
    public Header header;
    public JsonElement body;

}
